package com.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

@Data
public class CTicketPlan {
    @TableId(type = IdType.AUTO)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userNum;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sites;
    private Date startTime;
    private String summary;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long planId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long charge;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userCount;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long state;
}
